<?php
Header('Cache-Control: no-cache');
Header('Pragma: no-cache');
header('Content-type: text/javascript');

session_start();

require_once('../database/database.class.php');
$db = new Database();

// Revier holen
if (isset($_GET['districtid'])) {
	// Nur bestimmtes Revier
	echo $db->jsDistrictAnchors($_GET['districtid']);
} else {
	// Alle
	echo $db->jsDistrictAnchors();
}
?>
